#include <sys_config.h>
#include <types.h>
#include <basic_types.h>
#include <mediatypes.h>
#include <hld/sto/sto.h>
#include <hld/sto/sto_dev.h>
#include <api/libc/printf.h>
#include <osal/osal.h>
#include <api/libc/string.h>
#include <api/libdb/db_config.h>
#include <api/libdb/db_return_value.h>
#include <api/libdb/db_node_combo.h>
#include <api/libdb/db_node_api.h>
#include <api/libdb/db_interface.h>


#if((defined _S3281_||defined _M3503_ ||defined _M3821_ || defined _S3811_)&&(defined _BUILD_OTA_E_))//add by comer
INT32 db_search_lookup_node(UINT8 n_type, void *node)
{
	return DB_SUCCES;
}

INT32 add_node(UINT8 n_type, UINT32 parent_id,void *node)
{
	return DB_SUCCES;
}

INT32 get_prog_by_id(UINT32 pg_id,  P_NODE *node)
{
	return DB_SUCCES;
}

void get_audio_lang3b(UINT8 *src,UINT8 *des)
{
}

INT32 get_sat_by_id(UINT16 sat_id,  S_NODE *node)
{
	return DB_SUCCES;
}

INT32 modify_prog(UINT32 pg_id,  P_NODE *node)
{
	return DB_SUCCES;
}

UINT16 get_prog_num(UINT16 filter_mode,UINT32 param)
{
	return 0;
}

INT32 db_lcn_init()
{
	return DB_SUCCES;
}

INT32 init_db(UINT32 db_base_addr, UINT32 db_length, UINT32 tmp_info_base, UINT32 tmp_info_len)
{
	return DB_SUCCES;
}

INT32 set_default_value(UINT8 set_mode,UINT32 default_value_addr)
{
	return DB_SUCCES;
}

UINT16 get_sat_num(UINT16 select_mode)
{
	return 0;
}

INT32 recreate_prog_view(UINT16 create_flag, UINT32 param)
{
	return DB_SUCCES;
}

UINT16 get_prog_pos(UINT32 pg_id)
{
	return 0;
}

INT32 get_prog_at(UINT16 pos,  P_NODE* node)
{
	return 0;
}

INT32 get_sat_at(UINT16 pos, UINT16 select_mode, S_NODE *node)
{
	return 0;
}

int erom_rw( unsigned long mem_addr, void *buf,unsigned long len,\
		 unsigned int block_mode, unsigned int is_read)
{
	return 0;
}

int erom_read_tmo( unsigned long mem_addr, void *buf,unsigned long len,\
		 unsigned int block_mode, unsigned long tmo_us)
{
	return 0;
}

INT32 get_tp_by_id(DB_TP_ID tp_id,  T_NODE *node)
{
	return 0;
}

INT32 modify_tp(DB_TP_ID tp_id,  T_NODE *node)
{
	return 0;
}

INT32 update_data( )
{
	return 0;
}

INT32 db_search_create_pg_view(UINT8 parent_type, UINT32 parent_id, UINT8 prog_mode)
{
	return 0;
}

INT32 db_search_create_tp_view(UINT16 parent_id)
{
	return 0;
}

UINT16 get_tp_num_sat(UINT16 sat_id)
{
	return 0;
}

INT32 get_tp_at(UINT16 sat_id,UINT16 pos,  T_NODE *node)
{
	return 0;
}

void get_audio_lang2b(UINT8 *src,UINT8 *des)
{
}

UINT16 *DB_STRCPY(UINT16 *dest, UINT16 *src)
{
	return NULL;
}

INT32 DB_STRCMP(UINT16 *s, UINT16 *t)
{
	return 0;
}

INT32 update_stream_info(P_NODE *prev, P_NODE *next, INT32 *node_pos)
{
	return 0;
}

INT32 undo_prog_modify(UINT32 tp_id,UINT16 prog_number)
{
	return 0;
}

INT32 save_tmp_data(UINT8 *buff,UINT16 buff_len)
{
	return 0;
}

INT32 get_specific_prog_num(UINT8 prog_flag,UINT16 *ch_v_cnt,UINT16 *ch_a_cnt,UINT16 *fav_v_cnt,UINT16 *fav_a_cnt)
{
	return 0;
}

INT32 modify_sat(UINT16 sat_id,  S_NODE *node)
{
	return 0;
}

INT32 load_tmp_data(UINT8 *buff,UINT16 buff_len)
{
	return 0;
}

INT32 erase_tmp_sector()
{
	return 0;
}

INT32 recreate_tp_view(UINT16 create_flag, UINT32 param)
{
	return 0;
}

INT32 recreate_sat_view(UINT16 create_mode,UINT32 param)
{
    return 0;
}
INT32 db_get_dvb_combo(UINT8 *dvb_combo)
{
    return 0;
}
INT32 find_max_LCN_next()
{
    return 0;
}

INT16 check_LCN_index(UINT32 LCN)
{
    return 0;
}
void find_max_default_index()//051128-cmchen//SN 20050712 for default index
{
    return;
}

INT32 alloc_next_lcn(UINT16 *lcn)
{
    return 0;
}
BOOL check_lcn_if_exist(UINT16 lcn)
{
    return FALSE;
}
INT32 update_lcn_table(UINT16 lcn)
{
    return 0;
}
UINT16 get_max_def_index(void)
{
    return 0;
}
void set_max_def_index(UINT16 index)
{
}

#endif

